﻿using SqlSugar;
using System;

namespace Configuration.ServerApi.Entity
{
    /// <summary>
    /// 用户信息表
    /// </summary>
    [SugarTable("sys_user")]
    public class sys_user
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 姓别  0: 男  1: 女
        /// </summary>
        public string Sex { get; set; } = "0";

        /// <summary>
        /// 角色ID
        /// </summary>
        public string RoleId { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; }

        /// <summary>
        /// 工号
        /// </summary>
        public string JobNumber { get; set; }

        /// <summary>
        /// 账号
        /// </summary>
        public string AccountNumber { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string PassWord { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 状态  0: 正常 1: 禁用
        /// </summary>
        public string Status { get; set; } = "0";

        /// <summary>
        /// 备注信息
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 所属组织编号
        /// </summary>
        public string OrgGuid { get; set; } = "F1E761F6-0F5A-A3A7-CA4E-999A2BF6DC0B";

        /// <summary>
        /// 所属组织名称
        /// </summary>
        public string OrgName { get; set; } = "上海幂次力智能科技有限公司";

        /// <summary>
        /// 创建人ID
        /// </summary>
        public string CreateUser { get; set; }

        /// <summary>
        /// 创建人姓名
        /// </summary>
        public string CreateUserName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 最后更新人ID
        /// </summary>
        public string UpdateUser { get; set; }

        /// <summary>
        /// 最后更新人姓名
        /// </summary>
        public string UpdateUserName { get; set; }

        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 是否删除  0: 未删除 1: 已删除
        /// </summary>
        public int? Del_Flag { get; set; } = 0;

    }
}
